import service from '@/utils/request';

//获取车辆分页
export function carlist(payload = {}) {
    return service.get('/vehicle/queryAll', { params: payload })
}
//新增
export function carlistadd(payload = {}) {
    return service.post('/vehicle/add', payload)
}
//查询
export function chaxun(payload = {}) {
    return service.get('/vehicle/queryById', { params: payload })
}
//删除
export function del(payload = {}) {
    return service.delete('/vehicle/deleteById', { params: payload })
}
//批量删除
export function pldel(payload = {}) {
    return service.delete('/vehicle/deletefew', { params: payload })
}